package com.example.demo.model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author Administrator 张喜英
 */
@ApiModel(value = "users" ,description = "用户信息")
@Data

public class Users {
    @ApiModelProperty("用户id")
    private int yhid;
    @ApiModelProperty("用户名")
    private String username;
    @ApiModelProperty(value = "密码")
    private String password;
    @ApiModelProperty(value = "用户角色")
    private String yhjs;
    private String state;
    public Users() {
    }

    public Users(int yhid, String username, String password, String yhjs, String state) {
        this.yhid=yhid;
        this.username = username;
        this.password = password;
        this.yhjs = yhjs;
        this.state = state;
    }
}
